<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>使用工具栏</title>

 
  <link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
  <link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
  <script src="http://g.tbcdn.cn/fi/bui/jquery-1.8.1.min.js"></script>
  <script src="http://g.alicdn.com/bui/seajs/2.3.0/sea.js"></script>
  <script src="http://g.alicdn.com/bui/bui/1.1.21/config.js"></script>
  <style>
  	body{
  		padding:30px;
  	}
  	.row{
  		margin-top:50px;
  		padding-top:50px;
  		height:300px;
  		width:500px;
  		margin-left:29%;
  		background:#DFF0D8;
  	}
  </style>
 
</head>
<body>

 
 



	  <!-- 此节点内部的内容会在弹出框内显示,默认隐藏此节点-->
    <div id="content">
    <s:property value="tip"/>
      <form id="form" action="<%=basePath%>user/edit" class="form-horizontal">
        <div class="row well">
         <div class="control-group" style="margin-left:15%;">
            <label class="control-label">账号：</label>
            <div class="controls">
              <input  type="text" name="user.id" value="<s:property value="user.id"/>" readonly="readonly"
              class="input-normal control-text" data-rules="{required : true}">
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <label class="control-label" >密码：</label>
            <div class="controls">
              <input type="text" name="user.password" value="<s:property value="user.password"/>"
               value="12345" class="input-normal control-text" readonly="readonly" data-rules="{required : true,minlength:5}">
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <label class="control-label">姓名：</label>
            <div class="controls">
              <input type="text" name="user.firstName" value="<s:property value="user.firstName"/>"
               class="input-normal control-text" data-rules="{required : true}">
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <label class="control-label">邮箱：</label>
            <div class="controls">
              <input type="text"  name="user.email" value="<s:property value="user.email"/>"
              class="input-normal control-text" data-rules="{email:true}">
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <br><br><br>
            <input type="submit" value="提交" style="margin-left:75px;" class="button button-info">
          	<input type="button" class="button" style="margin-left:100px;" value="返 回" onclick="javascript:history.go(-1);"/>
          </div>
          
          
        </div>
        
      </form>
    </div>
    
 

 

</body>
</html>